Draft
Conversation
Agent-Logs-Url: https://github.com/corazawaf/charts/sessions/36182748-59b7-4b55-aaa6-fda604e3324d Co-authored-by: fzipi <3012076+fzipi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add helm chart for coraza-caddy
Add Helm chart for coraza-caddy
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Helm chart for coraza-caddy — Caddy server with the Coraza WAF plugin — following the same structure and conventions as the existing
coraza-spoachart.Chart structure
configmap.yaml— stores the Caddyfile; mounted at/etc/caddy/deployment.yaml— runscaddy run --config /etc/caddy/Caddyfile --adapter caddyfileservice.yaml— exposes HTTP port (default8080, namedhttp)serviceaccount,hpa,pdb,servicemonitorKey design decisions vs. coraza-spoa
caddyfile:)config:)8080(http)9000(spoa)2019(Caddy admin API, disabled by default)9100(enabled by default)/etc/caddy//etc/coraza/Default Caddyfile
Ships with OWASP CRS enabled out of the box:
{ order coraza_waf first } :8080 { coraza_waf { load_owasp_crs directives ` Include @coraza.conf-recommended Include @crs-setup.conf.example Include @owasp_crs/*.conf SecRuleEngine On ` } }The
portvalue (default8080) controls the Kubernetes Service port and must be kept in sync with the listen address in the Caddyfile.Tests
Nine Helm template unit tests cover deployment, service, configmap, and HPA rendering — consistent with the existing
coraza-spoa_test.gopattern.